package com.summer.framework.common.exception;

import com.summer.framework.common.enums.ErrorStatus;
import lombok.Data;
import lombok.ToString;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @auther: 杨杰
 * @date: 2019/5/14 16:38
 * @description:
 */
@Data
@ToString
@ResponseStatus(value = HttpStatus.BAD_REQUEST)
public class ParemeterException extends BaseException {

    public ParemeterException(String message) {
        super(ErrorStatus.PAREMETER_NOT_FOUND.getStatus(), message);
    }

}
